import {http} from '@/utils/http/axios';

/**
 * 获取用户列表
 * @param params
 */
export function addRefer(params?: any) {
  return http.request({
      url: '/refer',
      method: 'PUT',
      params,
    },
    {
      isTransformResponse: false,
    });
}

export function delRefer(params?: any) {
  return http.request({
      url: '/refer',
      method: 'DELETE',
      params,
    },
    {
      isTransformResponse: false,
    });
}
